package cn.laixueit.source.api;

import cn.laixueit.source.po.TbDataDict;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author duxiang
 * @date 2024/2/26 16:02
 */

public interface DataDictInterface {
    @PostMapping("/datadict/save")
    Object save(@RequestBody TbDataDict dataDict);
    @PostMapping("/datadict/update")
    Object update(@RequestBody TbDataDict dataDict);
    @PostMapping("/datadict/remove")
    Object remove(@RequestBody TbDataDict dataDict);
    @PostMapping("/datadict/get")
    Object get(@RequestBody TbDataDict dataDict);
    @PostMapping("/datadict/list")
    Object list(@RequestBody TbDataDict dataDict);
    @PostMapping("/datadict/page")
    Object page(@RequestParam("page")Integer page,
                @RequestParam("size")Integer size,
                @RequestBody TbDataDict dataDict);
}
